﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- 引入jstl标签库 -->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 设标签 -->
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<title>新用户注册成功</title>
<!-- 引入bootstrap样式表文件-->
<link rel="stylesheet"	href="${ctx }/plugin/bootstrap/3.3.5/css/bootstrap.min.css">

<!-- 引入jQuery javascript脚本 -->
<script src="${ctx }/resource/plugin/jquery/1.11.3/jquery.min.js"></script>
<!-- 引入bootstrap javascript脚本 -->
<script src="${ctx }/resource/plugin/bootstrap/3.3.5/js/bootstrap.min.js"></script>

<script type="text/javascript">
	var time = 10;
	function returnUrlByTime() {
		window.setTimeout('returnUrlByTime()', 1000);
		time = time - 1;
		if (time <= 0) {
			time = 0;
			window.setTimeout("location.href=login.html;"login.html
		document.getElementById("layer").innerHTML = time;
	}
</script>
</head>
<body onload="returnUrlByTime()">
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				<div class="page-header">
					<h1>
						B2C网上商城 <small>Online Shopping Mall > 新用户注册</small>
					</h1>
				</div>
			</div>
		</div>
		<div class="row clearfix">
			<div class="col-md-12 column">			
				<div class="alert alert-success  jumbotron" role="alert">
					<a href="javascript:void(0)" class="alert-link"
						onclick="window.location.href='${ctx}/web/login.jsp' "login.html					 <span style="font-size: 1.2em;">恭喜您注册成功，
							<b><span id="layer"  style="color: red;">9</span></b> 秒后会自动跳转，如果没有跳转，请点这里......
						</span>
					</a>
				</div>				
			</div>
		</div>
	</div>
</body>
</html>